package com.burst.reptile.common.utils.job;

import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;

import com.burst.reptile.modular.monitor.entity.SysJob;

/**
 * 定时任务处理（禁止并发执行）
 * 
 * @author wujin
 * @date: 2020年6月9日 下午3:40:56
 */
@DisallowConcurrentExecution
public class QuartzDisallowConcurrentExecution extends AbstractQuartzJob {
	
	@Override
	protected void doExecute(JobExecutionContext context, SysJob sysJob) throws Exception {
		JobInvokeUtil.invokeMethod(sysJob);
	}
}
